package com.lyl.security.common.result;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Mr.Luo
 */

@Getter
@AllArgsConstructor
public enum ResultCode implements BizCode {
    //成功
    SUCCESS(200,"成功"),
    FAILURE(400,"失败"),

    //业务异常
    BIZ_ERROR(10001,"业务异常")
    ;

    private final int code;
    private final String msg;
}
